package io.renren.modules.ProjectControl.ProcessSchedule.pro;

import io.renren.modules.ProjectControl.ProcessSchedule.Service.pro.ProWorkOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mes/pro/workorder")
public class ProWorkorderController {

@Autowired
    ProWorkOrderService proWorkOrderService;

    @GetMapping("/list")
    public String list(){
        return proWorkOrderService.list();
    }
}
